//---------------------------------------------------------------------
// File: ILogWritter.cs
// 
// Summary: 
//
//---------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//---------------------------------------------------------------------

using System;

namespace Microsoft.Services.BizTalkApplicationFramework.BizUnit
{
    /// <summary>
    /// Summary description for ILogWritter.
    /// </summary>
    public interface ILogWritter
    {
        /// <summary>
        /// Called by the BizUnit framework to write a line of text to the log file
        /// </summary>
        /// 
        /// <param name='s'>The text to be written</param>
        void WriteLine(string s);

        /// <summary>
        /// Called by the BizUnit framework to write a line of text to the log file
        /// </summary>
        /// 
        /// <param name='s'>The text to be formatted with args and then written</param>
        /// <param name='args'>The arguments to be formatted into 's'</param>
        void WriteLine(string s, params object[] args);

    }
}